
package com.cmccsi.webservice;

import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.servlet.annotation.WebInitParam;
import javax.xml.bind.annotation.XmlSchema;

import org.apache.log4j.Logger;

/**
 * 如果不指定targetNamespace 默认为包名称 例如包名:com.xx.webservice targetNamespace
 * http://webservice.xx.com/
 */
//@javax.xml.ws.BindingType(value=javax.xml.ws.soap.SOAPBinding.SOAP12HTTP_BINDING)
//@WebService(targetNamespace = "http://foreidcservice.uc.cmccsi.cn/")
public class UCForAdcServiceImpl implements IUCForAdcService {	
	private ADCHandlFactory adcHand=new ADCHandlFactory();
	private Logger loger = Logger.getLogger(UCForAdcServiceImpl.class);
	@Override
	public String corpBinding(String CorpBindReq) {
		loger.info("Start-------------");
		loger.info(CorpBindReq);
		return adcHand.AnalyseCorpBind(CorpBindReq);
	}

	@Override
	public String staffBinding(String StaffBindReq) {
		// TODO Auto-generated method stub
		loger.info("Start-------------");
		loger.info(StaffBindReq);
		return adcHand.AnalyseStaffBind(StaffBindReq);
	}
}